<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <label>cookie名：</label><input id="cookie_key" type="text"  /> <br/>
    <label>cookie值：</label><input id="cookie_val" type="text"  /> <br/>
    <label>失效时间：</label><input id="cookie_time"  type="text" title="时间格式（10s,2m等）" /> <br/> <br/>
    <input type="button" value="添加cookie"  onClick ="addCookie()"/> &nbsp; &nbsp;
    <input type="button" value="检查cookie"  onClick ="checkCookie()"/>  &nbsp; &nbsp;
    <input type="button" value="删除cookie"  onClick ="deleteCookie()"/>  &nbsp; &nbsp;
    <script src="index.js"></script>
</body>
</html>